package com.todo.strategy.online.application.service;

import com.todo.strategy.online.application.entity.bo.WantRelationBO;

import java.util.List;

/**
 * (WantRelation)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:50
 */
public interface WantRelationService {

    /**
     * 新增我想去关联
     * 每个集合关联最大存在100个数据
     *
     * @param wantRelationBO
     * @return
     */
    Boolean insertWantRelation(WantRelationBO wantRelationBO);

    /**
     * 根据我想去id和id列表删除数据
     *
     * @param wantId
     * @param idList
     * @return
     */
    Boolean removeWantRelationByIdList(Long wantId, List<Long> idList);

    /**
     * 根据我先去Id查询关联列表
     *
     * @param wantId
     * @return
     */
    List<WantRelationBO> queryWantRelationBySetId(Long wantId);

    /**
     * 根据我想去Id 删除关联信息
     *
     * @param id
     * @return
     */
    Boolean removeWantRelationByWantId(Long id);
}
